package liwen.zhao.common.jd.pojo;

import java.util.List;

/**
 * 用户角色对象
 * Author:赵利文 zhaoliwen86@126.com
 * Time:2020-6-2 17:33
 */
public class Role {
    private Integer id;//角色ID
    private Integer parent_id;//父级角色ID
    private String role_name;//角色名称
    private Long gen_time;//创建时间
    private String description;//角色描述
    
    
    private List<Right> rightList;//权限列表
    
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer getParent_id() {
        return parent_id;
    }
    
    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }
    
    public String getRole_name() {
        return role_name;
    }
    
    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }
    
    public Long getGen_time() {
        return gen_time;
    }
    
    public void setGen_time(Long gen_time) {
        this.gen_time = gen_time;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public List<Right> getRightList() {
        return rightList;
    }
    
    public void setRightList(List<Right> rightList) {
        this.rightList = rightList;
    }
}
